﻿@using SlamDunk.CMS.Model
@using SlamDunk.CMS.Model.DataModel
@using SlamDunk.CMS.Model.ViewModel
@{
    Article article = Model;
    ChannelView currentChannel = article.Channel.ToViewModel();
}
<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>@article.Title - @article.Author</title>
    @Include("Head", Model)
</head>
<body>
    @Include("Top", Model)
    @Include("SubBanner", Model)
    <div class="Sub_Middlecon">
        <div class="Sub_Middle">
            @Include("Left", Model)
            <div class="SubMid_R">
                <div class="SubMid_R1">
                    <span class="SubMid_R1title">@currentChannel.ChannelName</span><span class="SubMid_R1tip"></span>
                    <span class="SubMid_R1path">网站首页：<a href="/">首页</a> - <span class="SubMid_R1current"><a href="@currentChannel.Url">@currentChannel.ChannelName</a></span></span>
                </div>
                <div class="SubMid_R2">
                    <div class="SubMid_Lddetailcon">
                        <div class="SubMid_Lddetail_con">
                            <div class="SubMid_Lddetail_con1">
                                <img src="@article.ImagePath" width="198" height="181" />
                                <span class="SubMid_Lddetail_con1txt">
                                    <div class="SubMid_Lddetail_con1txt11">@article.Title</div>
                                    <div class="SubMid_Lddetail_con1txt12">@article.Author</div>
                                </span>
                            </div>
                            <div class="SubMid_Lddetail_con2">
                                <div class="SubMid_Lddetail_con2_titl"><span>个人简介</span></div>
                                <div class="SubMid_Lddetail_con2_txt">
                                    @article.Content
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="SubMid_R3">
                    <div class="SubMid_R3con">
                    </div>
                </div>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    @Include("Foot", Model)
</body>
</html>
